{% extends 'base.html' %}

{% block content %}
    <div class="bs-example" data-example-id="bordered-table">
        <table class="table table-bordered">
            <thead>
            <tr>
{#                <th>编号</th>#}
                <th>姓名</th>
                <th>年龄</th>
                <th>分数</th>
                <th>班级</th>
            </tr>
            </thead>
            <tbody>
            {% for x in info %}
                <tr>
{#                    <th scope="row">{{ x.id }}</th>#}
                    <td>{{ x.name }}</td>
                    <td>{{ x.age }}</td>
                    <td>{{ x.score }}</td>
                    <td>{{ x.grade.name }}</td>
                </tr>
            {% endfor %}

            </tbody>
        </table>
    </div>
{% endblock %}

